package entities;

import java.sql.Time;
import java.util.Date;

public class Shift {
    private int ShiftID;
    private String Name;
    private Time StartTime;
    private Time EndTime;
    private Date ModifiedDate;

    public Shift() {
    }

    public Shift(int ShiftID, String Name, Time StartTime, Time EndTime, Date ModifiedDate) {
        this.ShiftID = ShiftID;
        this.Name = Name;
        this.StartTime = StartTime;
        this.EndTime = EndTime;
        this.ModifiedDate = ModifiedDate;
    }

    public Time getEndTime() {
        return EndTime;
    }

    public void setEndTime(Time EndTime) {
        this.EndTime = EndTime;
    }

    public Date getModifiedDate() {
        return ModifiedDate;
    }

    public void setModifiedDate(Date ModifiedDate) {
        this.ModifiedDate = ModifiedDate;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public int getShiftID() {
        return ShiftID;
    }

    public void setShiftID(int ShiftID) {
        this.ShiftID = ShiftID;
    }

    public Time getStartTime() {
        return StartTime;
    }

    public void setStartTime(Time StartTime) {
        this.StartTime = StartTime;
    }
    
    @Override
    public String toString() {
        return Name;
    } 
}
